package com.jvm.simulation.hotspot;

import lombok.AllArgsConstructor;
import lombok.Data;

@Data
public class FieldInfo {
    int nameIdx;
    int descriptorIdx;
    String name;
    String descriptor;
    int accessFlags;

    public FieldInfo(int nameIdx, int descriptorIdx, String name, String descriptor, int accessFlags) {
        this.nameIdx = nameIdx;
        this.descriptorIdx = descriptorIdx;
        this.name = name;
        this.descriptor = descriptor;
        this.accessFlags = accessFlags;
    }
}
